package com.gjw.springbucks.repository;

import com.gjw.springbucks.model.CoffeeOrder;

import java.util.List;

/**
 * @author Administrator
 * @since 2019/7/8.
 */
public interface CoffeeOrderRepository extends BaseRepository<CoffeeOrder, Long> {
    List<CoffeeOrder> findByCustomerOrderById(String customer);

    List<CoffeeOrder> findByItems_Name(String name);
}
